home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.030 < prev    next >
Encoding:
Text File  |  1990-09-21  |  20.0 KB  |  392 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. Apple IIgs
  7. #30:    Apple IIgs Hardware Reference Updates
  8.  
  9. Revised by:    Jim Luther                                      September 1990
  10. Written by:    Rilla Reynolds & Jim Luther                       October 1987
  11.  
  12. This Technical Note includes updates to the Apple IIgs Hardware Reference, 
  13. published by Addison-Wesley.  Please contact Apple II Developer Technical 
  14. Support at the address listed in Apple II Technical Note #0 if you have 
  15. additional corrections or suggestions for these manuals.
  16. Changes since July 1990:  Changed the description in "Signals at the Serial 
  17. Ports and the Serial Communications Controller" to correctly note that the SCC 
  18. can support a maximum asynchronous transmission rate of 57,600 bits per second 
  19. (bps) in X16 clock mode.
  20. _____________________________________________________________________________
  21.  
  22. There are two editions of the Apple IIgs Hardware Reference, the first edition 
  23. (July 1987) which covers the original Apple IIgs only, and the second edition 
  24. (1989) which covers both original Apple IIgs and the 1 MB Apple IIgs.  Because 
  25. page numbers have changed between the two editions and because an update to 
  26. one edition may not be needed in both editions, this Note organizes 
  27. corrections by chapter, always noting corrections to the Second Edition 
  28. followed by corrections to the First Edition.
  29.  
  30.  
  31. Chapter 3:  Memory
  32.  
  33. Second Edition--Page 40, Table 3-2, Bits in the State register
  34. First Edition--Page 36, Table 3-2, Bits in the State register
  35.  
  36. Switch the given values and descriptions for bits 7 and 2 as follows:
  37.  
  38.     Bit  Value  Description
  39.     _________________________________________________________________________
  40.     7    1      ALTZP: If this bit is 1, then bank-switched memory, stack, 
  41.                 and direct page are in auxiliary memory.
  42.          0      If this bit is 0, then bank-switched memory, stack, and 
  43.                 direct page are in main memory.
  44.     2    1      LCBNK2:  If this bit is 1, language-card RAM bank 2 is 
  45.                 selected.
  46.          0      If this bit is 0, language-card RAM bank 1 is selected.
  47.     _________________________________________________________________________
  48.  
  49.  
  50. Chapter 6:  The Apple Desktop Bus
  51.  
  52. Second Edition--Page 148, after final paragraph
  53.  
  54. Add a new heading and description:
  55.  
  56.   Control Panel Control Jumper
  57.  
  58.   The ADB microcontroller provided with the 1 MB Apple IIgs includes an 
  59.   input that disables the text Control Panel (normally available via the 
  60.   Classic Desk Accessory menu).  This feature allows the system parameters 
  61.   to be set and then protected from changes made via the text Control 
  62.   Panel.  A jumper across the pins of connector S1 removes the text Control 
  63.   Panel from the Classic Desk Accessory menu.  All other installed classic 
  64.   desk accessories are still available in the Classic Desk Accessory menu 
  65.   when the S1 jumper is installed.  The S1 connector is located near the 
  66.   ADB microcontroller at motherboard location F12.
  67.  
  68.   Note:  The S1 jumper does not prevent the system parameters from being 
  69.          changed with the graphic Control Panel (a new desk accessory 
  70.          normally available from the Apple menu of the Finder or of any 
  71.          other application that includes the Apple menu).
  72.  
  73. First Edition--Page 130, Table 6-9, Command byte syntax
  74.  
  75. The first row in the table should read:
  76.  
  77.     x    x    x    x    0    0    0    0    Send Reset
  78.  
  79. and not
  80.  
  81.     A3   A2   A1   A0   0    0    0    0    Device Reset
  82.  
  83. First Edition--Page 131, Device Reset
  84.  
  85.   Replace "Device Reset" with "Send Reset."  The paragraph should be:  "When 
  86.   a device receives a Send Reset command, it will clear all pending 
  87.   operations and data, and will initialize to the power-on state.  The Send 
  88.   Reset command is not device-specific; it is sent to all devices 
  89.   simultaneously."
  90.  
  91. First Edition--Pages 138-139, Collision detection
  92.  
  93.   The fourth sentence in the last paragraph should be:  "By using the Listen 
  94.   register 3 command, the host can move the device with the activator 
  95.   pressed."
  96.  
  97.  
  98. Chapter 7:  Built-In I/O Ports and Clock
  99.  
  100. Second Edition--Page 154, Table 7-3, Disk-port soft switches
  101. First Edition--Page 146, Table 7-3, Disk-port soft switches
  102.  
  103.     $C0E8    Drive disabled
  104.     $C0E9    Drive enabled
  105.     $C0EA    Drive 1 select
  106.     $C0EB    Drive 2 select
  107.  
  108. In addition to the corrections listed for Table 7-3, the reference to "spindle 
  109. motor switches" in the paragraph following the table should be replaced with 
  110. "drive enable switches."
  111.  
  112. Second Edition--Page 155, Table 7-4, IWM states
  113. First Edition--Page 146, Table 7-4, IWM states
  114.  
  115. Change the table to the following:
  116.  
  117.     Q7    Q6    Drive     Operation
  118.     _________________________________________________________________________
  119.     0     0     enabled   Read Data register
  120.     0     1     -         Read Status register
  121.     1     0     -         Read Handshake register
  122.     1     1     disabled  Write Mode register
  123.     1     1     enabled   Write Data register
  124.     _________________________________________________________________________
  125.  
  126.     1 = asserted state    0 = negated state    - = do not care
  127.  
  128. First Edition--Page 146, after Table 7-4, IWM states
  129.  
  130. The following text and table should also be added:
  131.  
  132.   "The drive enable switches and the drive select switches control the state 
  133.   of the disk port signals DR1 and DR2.  The following table shows the 
  134.   relationship between these."
  135.  
  136.               Soft Switches           |  Disk Port Signals
  137.     $C0E8    $C0E9    $C0EA    $C0EB  |  DR1    DR2
  138.     __________________________________|_______________________________________
  139.       1        -        -        -    |    0      0
  140.       -        1        1        -    |    1      0
  141.       -        1        -        1    |    0      1
  142.     __________________________________|_______________________________________
  143.  
  144.     1 = asserted state    0 = negated state    - = do not care
  145.  
  146. First Edition--Page 147, The Mode register
  147.  
  148.   The IWM Mode register is a write-only register, so disregard the advice to 
  149.   use only a read-modify-write instruction sequence when manipulating bits.
  150.  
  151. Second Edition--Pages 156-7, Table 7-5, Bits in the Mode register
  152. First Edition--Pages 147-8, Table 7-5, Bits in the Mode register
  153.  
  154. For Second Edition, change the description for bit 2, value 0 as shown.  For 
  155. First Edition, switch the given values and descriptions for bits 1, 2, and 4 
  156. as shown.
  157.  
  158.     Bit  Value  Description
  159.     _________________________________________________________________________
  160.     4    1      8-MHz read-clock speed selected.
  161.          0      7-MHz read-clock speed selected.  Set to 0 for all Apple IIgs 
  162.                 disk accesses.
  163.     2    1      1-second timer is not selected.
  164.          0      1-second timer selected.  When the current disk drive is 
  165.                 deselected, the drive will remain enabled for 1 second if 
  166.                 this bit is clear.
  167.     1    1      Asynchronous handshake protocol selected; for all except 
  168.                 5.25-inch Apple disk drives.
  169.          0      Synchronous handshake protocol selected; for 5.25-inch Apple 
  170.                 disk drives.
  171.     _________________________________________________________________________
  172.  
  173. Second Edition--Page 159, The serial ports
  174. First Edition--Page 150, The serial ports
  175.  
  176.   The first sentence should read:  "The Apple IIgs has two serial ports 
  177.   located at the back of the computer, which may provide synchronous and 
  178.   asynchronous serial communications."
  179.  
  180. Second Edition--Page 160, Table 7-9, Pins on a serial-port connector
  181. First Edition--Page 151, Table 7-8, Pins on a serial-port connector
  182.  
  183. Replace the table title and table with this table title, table and note:
  184.  
  185.     Table 7-x    Signal assignments for the mini 8-pin serial port connectors
  186.  
  187.     Pin Number  Signal name  Signal Description
  188.     1           HSKo         Handshake output.  Driven uninverted from the 
  189.                              SCC's /DTR output.
  190.                              Voh = 3.6V; Vol = -3.6V; Rl - 450 ohms
  191.     2           HSKi         Handshake input or external clock.  Received 
  192.                              inverted at SCC's /CTS and /TRxC inputs.
  193.                              Vih = 0.2V; Vil = -0.2V; Ri = 12K ohms
  194.     3           TxD-         Transmit data (inverted).  Driven inverted 
  195.                              from SCC's TxD output; tri-stated when SCC's 
  196.                              /RTS is not asserted.
  197.                              Voh = 3.6V; Vol = -3.6V; Rl = 450 ohms
  198.     4           GND          Signal ground.  Connected to logic and 
  199.                              chassis ground.
  200.     5           RxD-         Receive data (inverted).  Received inverted 
  201.                              at SCC's RxD input.
  202.                              Vih = 0.2V; Vil = -0.2V; Ri = 12K ohms
  203.     6           TxD+         Transmit data.  Driven uninverted from SCC's 
  204.                              TxD output; tri-stated when SCC's /RTS is not 
  205.                              asserted.
  206.                              Voh = 3.6V; Vol = -3.6V; Rl = 450 ohms
  207.     7           GPi          General-purpose input.  Received inverted at 
  208.                              SCC's /DCD inputs.
  209.                              Vih = 0.2V; Vil = -0.2V; Ri = 12K ohms
  210.     8           RxD+         Receive data.  Received uninverted at SCC's 
  211.                              RxD input.
  212.                              Vih = 0.2V; Vil = -0.2V; Ri = 12K ohms
  213.  
  214.     Note:  Absolute values of specified voltages are minimums; 
  215.            Ri is a minimum, Rl is a maximum.
  216.  
  217. Second Edition--Page 164, after Figure 7-9
  218. First Edition--Page 155, after Figure 7-9
  219.  
  220. Add a new heading and description:
  221.  
  222.   Signals at the Serial Ports and the Serial Communications Controller 
  223.  
  224.   The Apple IIgs has two serial ports which are compatible with most RS-232-C 
  225.   devices.  This section describes the input and output signals provided at 
  226.   the serial ports.  This section also discusses some input signals to the 
  227.   8530 Serial Communications Controller (SCC) chip that are not described in 
  228.   the Apple IIgs Hardware Reference.
  229.  
  230.   The transmit-data and receive-data lines of the Apple IIgs serial interface 
  231.   conform to the EIA standard RS-422, which differs from the more commonly 
  232.   used RS-232-C standard in that, whereas an RS-232-C transmitter modulates a 
  233.   signal with respect to a common ground, an RS-422 transmitter modulates the 
  234.   signal against an inverted copy of the same signal (to generate a 
  235.   differential signal).  The RS-232-C receiver senses whether the received 
  236.   signal is sufficiently negative with respect to ground to be logical 1, 
  237.   whereas the RS-422 receiver simply senses which line is more negative than 
  238.   the other.  An RS-422 signal is therefore more immune to noise and 
  239.   interference, and degrades less over distance, than an RS-232-C signal.  If 
  240.   you ground the positive side of each RS-422 receiver and leave unconnected 
  241.   the positive side of each transmitter, you have essentially converted to 
  242.   EIA standard RS-423, which can be used to communicate with most RS-232-C 
  243.   devices over distances up to fifty feet, as illustrated in Figures 7-x1 
  244.   and 7-x2.
  245.  
  246.   ................................................
  247.   .    8530   26LS32 Receivers  IIGS Mini 8-pin  .      RS-232-C DTE Device
  248.   .    SCC    & 26LS30 Drivers  Serial Connector .        DB-25 Connector
  249.   .  _______                                     .         ____________ 
  250.   . |       |        /|             ______       .        |            |
  251.   . |       |       / |            |  8   |      .        |            |
  252.   . |       |      / +|____________| RxD+ |________       |            |
  253.   . |   RxD |_____/   |            |______|      . |      |            |
  254.   . |       |     \   |            |  5   |      . |      |            |
  255.   . |       |      \ -|____________| RxD- |________|______| TxD pin 2  |
  256.   . |       |   |\  \ |            |______|      . |      |            |
  257.   . |       |   | \  \|            |  6   |      . |      |            |
  258.   . |       |   |  \_______________| TxD+ |________|_ NC  |            |
  259.   . |   TxD |___|   \              |______|      . |      |            |
  260.   . |       |   |   /              |  3   |      . |      |            |
  261.   . |       |   |  /O______________| TxD- |________|______| RxD pin 3  |
  262.   . |       |   | /  /|            |______|      . |      |            |
  263.   . |       |   |/  / |            |  4   |      . |      |            |
  264.   . |       |      / +|_______o____| GND  |________o______| GND pin 7  |
  265.   . |  /CTS |__o__/   |       |    |______|      .        |            |
  266.   . |       |  |  \   |       |    |  2   |      .        |            |
  267.   . | /TRxC |__|   \ -|_______|____| HSKi |_______________| DTR pin 20 |
  268.   . |       |   |\  \ |       |    |______|      .        |            |
  269.   . |       |   | \  \|       |    |  1   |      .        |            |
  270.   . |       |   |  \__________|____| HSKo |_______________| DSR pin 6  |
  271.   . |  /DTR |___|   \         |    |______|      .        |            |
  272.   . |       |   |   /         |    |  7   |      .        |            |
  273.   . |       |   |  /O      ___|____| GPi  |____________o__| RTS pin 4  |
  274.   . |       |   | /  /|   |   |    |______|      .     |  |            |
  275.   . |       |   |/  / |   |   |                  .     |  |            |
  276.   . |       |      / +|___|___o                  .     |__| CTS pin 5  |
  277.   . |  /DCD |_____/   |   |   |                  .        |            |
  278.   . |       |     \   |   |   |                  .        |            |
  279.   . |       |      \ -|___|   |                  .        |            |
  280.   . |       |       \ |     signal               .        |            |
  281.   . |_______|        \|     ground               .        |____________|
  282.   ................................................
  283.  
  284.   Figure 7-x1-Apple IIgs Connection to an RS-232-C DTE Device
  285.  
  286.  
  287.   ................................................
  288.   .    8530   26LS32 Receivers  IIGS Mini 8-pin  .      RS-232-C DCE Device
  289.   .    SCC    & 26LS30 Drivers  Serial Connector .        DB-25 Connector
  290.   .  _______                                     .         ____________ 
  291.   . |       |        /|             ______       .        |            |
  292.   . |       |       / |            |  8   |      .        |            |
  293.   . |       |      / +|____________| RxD+ |________       |            |
  294.   . |   RxD |_____/   |            |______|      . |      |            |
  295.   . |       |     \   |            |  5   |      . |      |            |
  296.   . |       |      \ -|____________| RxD- |________|______| RxD pin 3  |
  297.   . |       |   |\  \ |            |______|      . |      |            |
  298.   . |       |   | \  \|            |  6   |      . |      |            |
  299.   . |       |   |  \_______________| TxD+ |________|_ NC  |            |
  300.   . |   TxD |___|   \              |______|      . |      |            |
  301.   . |       |   |   /              |  3   |      . |      |            |
  302.   . |       |   |  /O______________| TxD- |________|______| TxD pin 2  |
  303.   . |       |   | /  /|            |______|      . |      |            |
  304.   . |       |   |/  / |            |  4   |      . |      |            |
  305.   . |       |      / +|_______o____| GND  |________o______| GND pin 7  |
  306.   . |  /CTS |__o__/   |       |    |______|      .        |            |
  307.   . |       |  |  \   |       |    |  2   |      .        |            |
  308.   . | /TRxC |__|   \ -|_______|____| HSKi |_______________| DSR pin 6  |
  309.   . |       |   |\  \ |       |    |______|      .        |            |
  310.   . |       |   | \  \|       |    |  1   |      .        |            |
  311.   . |       |   |  \__________|____| HSKo |_______________| DTR pin 20 |
  312.   . |  /DTR |___|   \         |    |______|      .        |            |
  313.   . |       |   |   /         |    |  7   |      .        |            |
  314.   . |       |   |  /O      ___|____| GPi  |_______________| DCD pin 8  |
  315.   . |       |   | /  /|   |   |    |______|      .        |            |
  316.   . |       |   |/  / |   |   |                  .        |            |
  317.   . |       |      / +|___|___o                  .        |            |
  318.   . |  /DCD |_____/   |   |   |                  .        |            |
  319.   . |       |     \   |   |   |                  .        |            |
  320.   . |       |      \ -|___|   |                  .        |            |
  321.   . |       |       \ |     signal               .        |            |
  322.   . |_______|        \|     ground               .        |____________|
  323.   ................................................
  324.  
  325.   Figure 7-x2-Apple IIgs Connection to an RS-232-C DCE Device
  326.  
  327.   The serial inputs and outputs of the SCC are connected to the external 
  328.   connectors through differential line drivers (26LS30) and receivers 
  329.   (26LS32).  The output line drivers are tri-state devices and can be put in 
  330.   the high-impedance mode between transmissions to allow other devices (i.e., 
  331.   AppleTalk devices) to transmit over those lines.  A line driver is 
  332.   activated by lowering the SCC's Request To Send (/RTS) output for that 
  333.   port.
  334.  
  335.   The Handshake Output signal (HSKo, pin 1) for each Apple IIgs serial port 
  336.   originates at the SCC's /DTR output for that port and is driven uninverted 
  337.   by an RS-422 line driver (26LS30).  Each port's Handshake Input signal 
  338.   (HSKi, pin 2) is received and inverted through a differential receiver 
  339.   (26LS32).  The output of the differential receiver is connected to the 
  340.   SCC's Clear To Send (/CTS) and Transmit/Receive Clock (/TRxC) inputs for 
  341.   that port.  HSKi is designed to accept an external device's Data Terminal 
  342.   Ready (DTR) handshake signal through the /CTS input.  The /CTS input to the 
  343.   SCC can be polled by software or can be used to generate an interrupt.  The 
  344.   HSKi line is connected to the SCC's Transmit/Receive Clock (/TRxC) input 
  345.   for that port, so that an external device can perform high-speed 
  346.   synchronous data exchange.  Note that you can't use the HSKi line for 
  347.   receiving DTR if you're using it to receive a high-speed data clock.
  348.  
  349.   Each port's General-Purpose input (GPi, pin 7) is received and inverted 
  350.   through a differential receiver (26LS32).  The output of the differential 
  351.   receiver is connected to the SCC's Data Carrier Detect (/DCD) input for 
  352.   that port.  This input can be used to provide a handshake signal from an 
  353.   external device to the computer.  The /DCD input to the SCC can be polled 
  354.   by software or can be used to generate an interrupt.
  355.  
  356.   Note:  Because a 26LS32 differential receiver is used for the external 
  357.          handshake or clock signals to the SCC, the signals must be 
  358.          bipolar, alternating between a positive voltage and a negative 
  359.          voltage with respect to the internally grounded input.  If a 
  360.          device uses ground (0 volts) as one of its handshake logic 
  361.          levels, the receiver interprets that level as an indeterminate 
  362.          state, with unpredictable results.
  363.  
  364.   The SCC's Receive/Transmit Clock (/RTxC) inputs for both ports are driven 
  365.   by a single crystal oscillator circuit.  This is accomplished by connecting 
  366.   a 3.6864 MHz crystal between the /RTxC and Synchronization (/SYNC) input of 
  367.   port A.  Port B's /RTxC pin is connected to port A's /SYNC pin to drive 
  368.   port B's clocks from port A's oscillator circuit.  Because of this single 
  369.   circuit, Write Register 11 (WR11) bit 7 must be set to 1 for SCC port A and 
  370.   must be set to 0 for SCC port B.  The SCC itself is clocked at 3.58 MHz by 
  371.   the Apple IIgs' Color-Reference clock (CREF) at the SCC's PCLK clock input.  
  372.   The maximum asynchronous transmission rate supported by the SCC is 57,600 
  373.   bits per second (bps) in X16 clock mode (WR4=01xxxxxx).
  374.  
  375.   The SCC's Interrupt Enable In (IEI) and Interrupt Acknowledge (/INTACK) 
  376.   inputs are both tied to logical high in the Apple IIgs.  Keeping the SCC's 
  377.   IEI input high enables the SCC to always generate interrupts if interrupt 
  378.   modes are enabled through software.  Keeping the SCC's /INTACK input high 
  379.   leaves the SCC in Interrupt Without Acknowledge interrupt mode.
  380.  
  381.  
  382. Chapter 8:  I/O Expansion Slots
  383.  
  384. First Edition--Page 167, Direct memory access
  385.  
  386. DMA bank register location is $C037.
  387.  
  388.  
  389. Further Reference:
  390. _____________________________________________________________________________
  391.   o  Apple IIgs Hardware Reference, both editions
  392.